print("100000 100000 10000")
for i in range(0, 10000):
	print("0 %d %d 10" % ((10000 - i) * 10, i * 100000))
